package com.manlu.pojo;

import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

/**
 * @Auther 漫路h
 * Created by 2020-05-04 20:45
 */
@Table(name = "admin")
@Data
public class Admin {
    private Integer id;
    private String username;
    private String password;
    private Date create_time;

    /*
     CREATE TABLE admin(
     id INT(11) COMMENT '管理员id',
     username VARCHAR(16) COMMENT '管理员账号',
     `password` VARCHAR(16) COMMENT '管理员密码',
     create_time DATETIME COMMENT '创建时间',
     PRIMARY KEY (`id`) USING BTREE
     ) ENGINE=INNODB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
     */
}
